package com.jiazhong.backend;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan("com.jiazhong")
//手动扫描com.jiazhong.commons.Mapper包
@MapperScan("com.jiazhong.commons.Mapper")
@SpringBootApplication
public class ProjectBookstoreBackendApplication {
    public static void main(String[] args) {

        SpringApplication.run(ProjectBookstoreBackendApplication.class,args);
    }
}
